package com.raising.sc.core.util.common;

import com.raising.sc.core.util.base.BaseUtils;

import java.util.Collection;

/**
 * 集合工具类
 * @author GaoYuan
 * @date 2018/4/11 上午9:17
 */
public class CollectionUtils extends BaseUtils {

    /** 判断集合是否为空 */
    public static boolean isNotEmpty(Collection<?> c){
        if (c != null && c.size() != 0 ) {
            return true;
        }
        return false;
    }
}
